<!--
 * @Author: 陈妮娜 969682281@qq.com
 * @Date: 2024-11-18 14:23:13
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2024-11-22 11:07:01
 * @FilePath: \bigHome2.0\bigHome\src\components\stationProductionPage\BridgeManage\bridgeNum\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <!-- 小弹框 width:500,height:0.3,top:15%  -->
  <!-- 中弹框 width:800,height:0.5,top:10% -->
  <!-- 大弹框 width:1060,height:0.76,top:5% -->

  <div class="Control-1 mechanism_dialogS closure" id="comcn small">
    <el-dialog
      width="1460px"
      :title="title"
      v-dialogDrag
      :visible.sync="visible"
      @close="closeDialog"
      :append-to-body="true"
      top="5%"
    >
      <div
        class="dialogBody common commonClassDialog moduleDialog"
        id="longLable"
        :style="{ height: dialogHeight }"
        style="width: 100%"
      >
        <div style="overflow-y: auto; margin-bottom: 40px; height: 100%">
          <TableLyout :treelength="treelength">
            <template v-slot:btnbox v-if="btnShow">
              <el-button
                :disabled="item.disabled"
                type="primary"
                v-for="(item, index) in btnObj"
                :key="index"
                @click="getBtnName(item.fEncode, item.fOrder)"
                >{{ item.fFullname }}</el-button
              >
            </template>
            <template v-slot:tabcom>
              <div class="tableInfo">
                <tableData
                  :page="getList.page"
                  :pageSize="getList.pageSize"
                  height="100%"
                  :config="table_config"
                  :dataList="tableData"
                  :loading="loading"
                  :info="queryCriteriaData"
                  :total="queryCriteriaData.total"
                  :pageNum.sync="getList.page"
                  :limit.sync="getList.pageSize"
                  @click-change="rowChange"
                  @pagination="yj_searchForm(getList)"
                  @ClickOnLine="yj_viewForm"
                />
              </div>
            </template>
          </TableLyout>
        </div>
        <div class="newlyAdded_btn" v-if="btnShow">
          <el-button :disabled="isLock" type="primary" @click="yj_saveForm(1)">
            保存
          </el-button>
          <el-button type="warning" @click="visible = false">关闭</el-button>
        </div>
      </div>
    </el-dialog>
    <custom-dialog
      @refreshList="refreshList2"
      @close="closeDialog2"
      :currentRow="RowData"
      :statusNum="statusNum2"
      v-if="isShow"
      :dialogVisible="isShow"
      dialogTitle="预制梁板详情"
    ></custom-dialog>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
